Optimal. Leaf size=212 \[ -\frac {3 b x^2 \sqrt {-1+c x} \sqrt {1+c x}}{16 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^4 \sqrt {-1+c x} \sqrt {1+c x}}{16 c \sqrt {d-c^2 d x^2}}-\frac {3 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{8 c^4 d}-\frac {x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{4 c^2 d}+\frac {3 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b c^5 \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 212, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {5938, 5892, 30}
\begin {gather*} -\frac {x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{4 c^2 d}+\frac {3 \sqrt {c x-1} \sqrt {c x+1} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b c^5 \sqrt {d-c^2 d x^2}}-\frac {3 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{8 c^4 d}-\frac {b x^4 \sqrt {c x-1} \sqrt {c x+1}}{16 c \sqrt {d-c^2 d x^2}}-\frac {3 b x^2 \sqrt {c x-1} \sqrt {c x+1}}{16 c^3 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5892
Rule 5938
Rubi steps
\begin {align*} \int \frac {x^4 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {d-c^2 d x^2}} \, dx &=\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^4 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}}\\ &=-\frac {x^3 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{4 c^2 \sqrt {d-c^2 d x^2}}+\frac {\left (3 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^2 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{4 c^2 \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x^3 \, dx}{4 c \sqrt {d-c^2 d x^2}}\\ &=-\frac {b x^4 \sqrt {-1+c x} \sqrt {1+c x}}{16 c \sqrt {d-c^2 d x^2}}-\frac {3 x (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{8 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^3 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{4 c^2 \sqrt {d-c^2 d x^2}}+\frac {\left (3 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{8 c^4 \sqrt {d-c^2 d x^2}}-\frac {\left (3 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x \, dx}{8 c^3 \sqrt {d-c^2 d x^2}}\\ &=-\frac {3 b x^2 \sqrt {-1+c x} \sqrt {1+c x}}{16 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^4 \sqrt {-1+c x} \sqrt {1+c x}}{16 c \sqrt {d-c^2 d x^2}}-\frac {3 x (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{8 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^3 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{4 c^2 \sqrt {d-c^2 d x^2}}+\frac {3 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b c^5 \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.59, size = 171, normalized size = 0.81 \begin {gather*} \frac {-\frac {16 a c x \left (3+2 c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{d}-\frac {48 a \text {ArcTan}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )}{\sqrt {d}}+\frac {b \sqrt {\frac {-1+c x}{1+c x}} (1+c x) \left (-16 \cosh \left (2 \cosh ^{-1}(c x)\right )-\cosh \left (4 \cosh ^{-1}(c x)\right )+4 \cosh ^{-1}(c x) \left (6 \cosh ^{-1}(c x)+8 \sinh \left (2 \cosh ^{-1}(c x)\right )+\sinh \left (4 \cosh ^{-1}(c x)\right )\right )\right )}{\sqrt {d-c^2 d x^2}}}{128 c^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(567\) vs.
\(2(180)=360\).
time = 6.20, size = 568, normalized size = 2.68
method | result | size |
default | \(-\frac {a \,x^{3} \sqrt {-c^{2} d \,x^{2}+d}}{4 c^{2} d}-\frac {3 a x \sqrt {-c^{2} d \,x^{2}+d}}{8 c^{4} d}+\frac {3 a \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{8 c^{4} \sqrt {c^{2} d}}+b \left (-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right )^{2}}{16 d \,c^{5} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (8 c^{5} x^{5}-12 c^{3} x^{3}+8 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{4} c^{4}+4 c x -8 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{2} c^{2}+\sqrt {c x -1}\, \sqrt {c x +1}\right ) \left (-1+4 \,\mathrm {arccosh}\left (c x \right )\right )}{256 d \,c^{5} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (2 c^{3} x^{3}-2 c x +2 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{2} c^{2}-\sqrt {c x -1}\, \sqrt {c x +1}\right ) \left (-1+2 \,\mathrm {arccosh}\left (c x \right )\right )}{16 d \,c^{5} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-2 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{2} c^{2}+2 c^{3} x^{3}+\sqrt {c x -1}\, \sqrt {c x +1}-2 c x \right ) \left (1+2 \,\mathrm {arccosh}\left (c x \right )\right )}{16 d \,c^{5} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-8 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{4} c^{4}+8 c^{5} x^{5}+8 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{2} c^{2}-12 c^{3} x^{3}-\sqrt {c x -1}\, \sqrt {c x +1}+4 c x \right ) \left (1+4 \,\mathrm {arccosh}\left (c x \right )\right )}{256 d \,c^{5} \left (c^{2} x^{2}-1\right )}\right )\) | \(568\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^4\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{\sqrt {d-c^2\,d\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________